xenstore size limits
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Dec 2007 10:15:00 +0000 (10:15 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 14 Dec 2007 10:15:00 +0000 (10:15 +0000)
commit625a82b59cc973fc6adcca234e05e53fff4a96b5
treeb67fc0be96f43cbe1491c00dd3dd1dbe961e21fb
parent298950dbe88deb0697fdd4f273f1583dc51d20cc
xenstore size limits

 * Documents the existing 4kby size limit on xenstore message payloads
 * Causes xs.c in libxenstore to fail locally rather than violating
   said limit (which is good because xenstored kills the client
   connection if it's exceeded).
 * Introduces some limits on path lengths in xenstored.  I trust
   no-one is using path lengths >2kby.  This is good because currently
   a domain client can create a 4kby relative path that the dom0 tools
   cannot access since they'd have to specify the somewhat longer
   absolute path.
 * Removes uses of the host's PATH_MAX (!)

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/misc/xenstore.txt
tools/xenstore/xenstored_core.c
tools/xenstore/xenstored_watch.c
tools/xenstore/xs.c
tools/xenstore/xsls.c
xen/include/public/io/xs_wire.h